<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>{% block title %}{% endblock %}</title>
        <link type="text/css" rel="stylesheet" href="/css/base.css" />
        {% block css %}{% endblock %}
    </head>
    <body>

        <div id="header">
            <h1>伝書鳩</h1>
        </div>

        <div id="menu">
            <ul id="pigeon-menu">
                <li><a href="/new">新規作成</a></li>
                <li><a href="/inbox">受信トレイ</a></li>
                <li><a href="/sent">送信済み伝書鳩</a></li>
                <li><a href="/draft">下書き</a></li>
            </ul>
            <ul id="admin-menu">
                <li><a href="http://code.google.com/p/pigeon-laurus/" target="_blank">source code</a></li>
                {% if is_admin %}
                <li><a href="https://appengine.google.com/dashboard?app_id=pigeon-laurus" target="_blank">管理画面</a></li>
                {% endif %}
            </ul>
            <div id="logout"><a href="{{ logout_url }}">ログアウト</a></div>
        </div>

        <div id="content">{% block content %}{% endblock %}</div>

        <div id="footer">
            <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" alt="Powered by Google App Engine" />
        </div>

        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
        {% block js %}{% endblock %}
    </body>
</html>
